package com.tedu._04mybatis.mapper;

import com.tedu._04mybatis.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UserMapper{
//    @Insert("INSERT INTO user (username,password,nickname,created)" +
//            " VALUES (#{username},#{password},#{nickname},#{created})")
    int insert(User user);
    int update(User user);
    int dynamicDelete(Integer[] id);
}
